package com.tvunetworks.center.user.model.param;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @program: tvucc-aggregator
 * @description: AddFeatureParam
 * @author lebronchen
 * @create: 2019-06-25 14:09
 **/
@Data
@Accessors(chain = true)
public class AddFeatureParam {

    @NotEmpty
    private String feature;
    @NotEmpty
    private String enName;
    @NotEmpty
    private String cnName;
    @NotNull
    private Integer adminAutoOwn;  // 0:admin不默认拥有  1:admin默认拥有
    @NotNull
    private Integer type;  // 1:menu  2:feature
    @Min(1)
    @Max(10000)
    private Integer orderNo;
    private String remark;

}
